package com.clstu.override_;

public class Person {
    public Person(String name, int age) {
        this.name = name;
        this.age = age;
    }

    private String name;
    private  int age;
    public String say(){
        return "我是"+name+",今年"+age+"岁";
    }

    public String getName() {
        return name;
    }

    public int getAge() {
        return age;
    }
}
